﻿var app = angular.module("app", ["ngRoute"]);

app.config(function ($routeProvider) {
    $routeProvider.when('/', {
        templateUrl: "/app/Views/Home.html",
        controller: "HomeController",
        title: "Home"
    }).when('/Test', {
        templateUrl: '/app/Views/Test.html',
        controller: "NewController",
        title: "Test Example"
    }).otherwise({
        redirectTo: '/'
    });
});